//
//  detailsView.h
//  garbageclient
//
//  Created by Wang Wu on 11-8-11.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "delegatedef.h"
#import "commentView.h"

@protocol detailsViewDelegate

-(void)detailback;

@end

@interface detailsView : UIView<commentViewDelegate> {
    UINavigationBar                 *navBar;
    NSURLConnection                 *connection;
    NSMutableData                   *webdatabuf;
    NSDictionary                    *results;
    
    UITextView                      *textview;
    UIButton                        *downloadbtn;
    NSString                        *downloadurl;
    commentView                     *commentview;
}


@property(nonatomic, assign) NSObject<detailsViewDelegate> * delegate;

-(void)setBackType:(int)iType;

-(void)ConnectDetails;

-(id)initWithUrl:(NSString*)strurl;
@end
